package com.example.user.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.example.common.model.Article;
import com.example.user.dao.ArticleDao;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Author:mjt
 * @Description:
 */

@Service(version = "1.0.0")
@org.springframework.stereotype.Service
public class ArticleServiceImpl implements ArticleDao {
    @Autowired
    private ArticleDao articleDao;

    @Override
    public Article findArticleByName(String username) {
        return articleDao.findArticleByName(username);
    }
}
